<?
/*
CONFIG.INC.PHP
This file includes all site configuration variables
*/

// ***** DEFINE CONSTANTS *************************************
define('ROOT_DIR',  $_SERVER[DOCUMENT_ROOT].'/');
define('SITE_NAME', 'Child Disability Connection :: Control Panel');
define('SITE_URL',  'http://www.childdisabilityconnection.org');
define('MASTER_MAIL', 'info@ChildDisabilityConnection.org');
define('MASTER_MAIL_FROM', 'ChildDisabilityConnection.org');
define('WEBMASTER_MAIL', 'dentonj@wou.edu');
define('GOOGLE_MAP_KEY', 'ABQIAAAA7a_GQ4svKixjK2GoGR2A4BRtT8h_3GwwYqBANIn2psLIBzzedhS6fEOJidHnM2tMDvGw_h0pFWSsBg');
define('PUBLIC_FILES_PATH', ROOT_DIR.'public_files/');

define('AMAZON_API_KEY', '19NTYTP992PDGV3JS2G2');
define('AMAZON_SUBSCRIPTION_ID', 'wwwchilddisab-20');
define('AMAZON_BASE_URI', 'http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService');

define('LIBRARY_CHECKOUT_DAYS', 21); // Max number of days a library item can be checked out

define('CONTACT_CLOSURE_WINDOW', 14); // Number of days before contact should be closed  (2 weeks)

// ***** SITE AREA PANEL DEFINITIONS **************************
if ($_SESSION['org'] == 'OrPTI') {
	$siteAreaArrayUsers = array('Staff Users','Resource Share Users');
} else {
	$siteAreaArrayUsers = array('Staff Users');
}

$siteAreaArray = array (
					'login'        => array(''),
					'dashboard'    => array('Welcome'),
					'callForm'     => array('New Contact','View Contact Log'),
					'calendar'     => array('View Events'),
					'translation'  => array('Translated Terms'),
					'resources'    => array('Resources','Resource Files'),
					'partners'     => array('View All Partners'),
					'users'        => $siteAreaArrayUsers,
					'library'      => array('Search Library','Update Library','Items Currently Checked Out'),
					'reports'      => array('View Reports'),
					'trash'        => array('Items in Trash'),
					'categories'   => array('Site Categories')
					);

// ***** GLOBAL ARRAYS ****************************************
$monthNameArray     = array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
$monthNameLongArray = array('January','February','March','April','May','June','July','August','September','October','November','December');
$monthNumArray      = array('01','02','03','04','05','06','07','08','09','10','11','12');
$dayArray           = array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');					
$badCharArray       = array('&#039;','&amp;','#','$',' ',Chr(39),Chr(35),Chr(38));

$userLevelArray = array (
					'1' => 'Super Admin',
					'2' => 'General User',
					'3' => 'Builder'
					);		

$colorArray = array (
					'Light Blue'    => '#AFD8F8',
					'Bright Orange' => '#F6BD0F',
					'Green'         => '#8BBA00',
					'Purple'        => '#A66EDD',
					'Pink'          => '#F984A1',
					'Silver'        => '#999999',
					'Light Orange'  => '#F3B256',
					'Dark Green'    => '#399444',
					'Very Red'      => '#C01F25',
					'Sunset Orange' => '#F26821',
					'Super Blue'    => '#253C87',
					'Just Brown'    => '#946526',
					'Charcoal'      => '#403F3F'
					);

// Image Upload Variables
$maxFileSize = 5000000;
$mimeTypeArray = array();
$currentPage = $_SERVER[PHP_SELF];
?>